/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function get_user(){
    $.ajax({  
                url: "page/show_user.php",  
                cache: false,  
                success: function(html){  
                    $('#top').html(html);  
                }  
            });
            }
$(document).ready(function(){
    $('#user').click(function(){get_user()
        
        });
        $('#clear').dialog({
                    autoOpen: false,
                    height: 250,
                    width: 300,
                    title: "Новый пользователь",
                    show: 'blind',
                    hide:'blind',
                    modal: true,
                    position: [10,10],
                    buttons:{
                            
                            Cancel: function() {
                                $( this ).dialog( "close" );
                            }
                            
                        }
                    });
        
     
})